package cn.fsd.feignclients;

import cn.fsd.query.delivery.PurchaseBean;
import java.util.List;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(value = "customer-server", url = "localhost:1010")
public interface CustomerFeignClient {

  @GetMapping("/order/purchaseList")
  List<PurchaseBean> getPurchaseList();

  @GetMapping("/order/userNum")
  Integer getUserNum();

}
